home *** CD-ROM | disk | FTP | other *** search
/ The Net Power 1997 April / NETDisc0497.iso / mac / Demos / HomeDoor Bundle / HomeDoor / UG / SampleHostsFiles / CompanyXHosts.txt next >
Encoding:
Text File  |  1995-11-14  |  1.6 KB  |  39 lines  |  [TEXT/ttxt]

  1. ; Sample hosts file demonstrating how to configure a DNS to work with
  2. ; HomeDoor to serve a number of virtual domains from one Web server.
  3.  
  4. ; This is the hosts file for the "CompanyX.com" virtual domain
  5. ; See the HomeDoorSampleHosts file for general comments
  6.  
  7. ; ORIGIN
  8. $ORIGIN CompanyX.com.
  9.  
  10. ; START OF AUTHORITY INFORMATION
  11. @                           IN      SOA     dns.yourwebserver.com.     hostmaster.yourwebserver.com.  (
  12.                              9511141       ; serial number (yymmddn)
  13.                              36000           ; refresh (every 10 hours)
  14.                              7200             ; retry (after 2 hours)
  15.                              604800         ; expire (after 1 week)
  16.                              86400 )         ; minimum time to live (1 day)
  17.  
  18. ; NAME SERVERS
  19.                         IN      NS      dns.yourwebserver.com. 
  20.                         IN      NS      dns2.yourwebserver.com. 
  21.  
  22. ; MAIL EXCHANGERS
  23. ; You don't need this line if you're not providing virtual e-mail services for CompanyX
  24.                         IN      MX      10 yourmailserver.com. 
  25.  
  26. ; HOST ADDRESSES
  27. ; The HomeDoor address you're going to assign to the CompanyX virtual domain
  28. www.CompanyX.com.   IN      A      10.0.0.1
  29.  
  30. ; ALIASES
  31. ; Aliases for your actual Web server - not strictly necessary
  32. ; This alias makes it so that Web browsers' "location" fields
  33. ;     list CompanyX.com as the domain, rather than yourwebserver.com
  34. ; For this to work, you must enter this alias in the HomeDoor URL 
  35. ;     associated with the above address (rather than www.yourwebserver.com)
  36. www2.CompanyX.com.  IN      CNAME   www.yourwebserver.com.
  37.  
  38.  
  39.